import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '切坡墙距权重',
    align: "center",
    dataIndex: 'slopeWallDistanceWeight'
  },
  {
    title: '切坡时间权重',
    align: "center",
    dataIndex: 'cutSlopeTimeWeight'
  },
  {
    title: '切坡宽度权重',
    align: "center",
    dataIndex: 'cutSlopeWidthWeight'
  },
  {
    title: '威胁人口权重',
    align: "center",
    dataIndex: 'threatPopulationWeight'
  },
  {
    title: '威胁房屋结构权重',
    align: "center",
    dataIndex: 'threatHouseWeight'
  },
];

// 高级查询数据
export const superQuerySchema = {
  slopeWallDistanceWeight: {title: '切坡墙距权重',order: 0,view: 'number', type: 'number',},
  cutSlopeTimeWeight: {title: '切坡时间权重',order: 5,view: 'number', type: 'number',},
  cutSlopeWidthWeight: {title: '切坡宽度权重',order: 8,view: 'number', type: 'number',},
  threatPopulationWeight: {title: '威胁人口权重',order: 13,view: 'number', type: 'number',},
  threatHouseWeight: {title: '威胁房屋结构权重',order: 18,view: 'number', type: 'number',},
};
